export default {
  changeUser (state, username, userStatus) {
    state.username = username
    state.userStatus = userStatus
    try {
      localStorage.username = username
    } catch (e) {}
    try {
      localStorage.userStatus = userStatus
    } catch (e) {}
  }
}
